package cn.stylefeng.guns.modular.bs.mapper;

import cn.stylefeng.guns.modular.bs.entity.BsWarehousePro;
import cn.stylefeng.guns.modular.bs.model.params.BsWarehouseProParam;
import cn.stylefeng.guns.modular.bs.model.result.BsWarehouseProResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 大屏-仓库信息 Mapper 接口
 * </p>
 *
 * @author zhangzh
 * @since 2025-07-15
 */
public interface BsWarehouseProMapper extends BaseMapper<BsWarehousePro> {

    /**
     * 获取列表
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    List<BsWarehouseProResult> customList(@Param("paramCondition") BsWarehouseProParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BsWarehouseProParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    Page<BsWarehouseProResult> customPageList(@Param("page") Page page, @Param("paramCondition") BsWarehouseProParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author zhangzh
     * @Date 2025-07-15
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BsWarehouseProParam paramCondition);

}
